<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <style>
        .num_error{  right:0.5rem; top:0; color:#cb1448;}
    </style>
    <title>提现申请</title>
</head>
<body>
<form:form modelAttribute="UserWithdrawalsRecordModel" action="${ctx}/withdraw" method="post" id="product_form">
    <form:input type="hidden" path="accountName"   ></form:input>
    <form:input type="hidden" path="bank"   ></form:input>
    <form:input type="hidden" path="addrProvinceCode"   ></form:input>
    <form:input type="hidden" path="addrCityCode"   ></form:input>
    <form:input type="hidden" path="branch"   ></form:input>
    <form:input type="hidden" path="cardNo"   ></form:input>
    <article class="viewports">
        <div class="list_item mt10 c3">
            <ul>
                <a href="/select/bankcard">
                    <li class="odr2_b plr20">
                        <div class="layout-box ptb20">
                            <div class="box-col"><span>${userBankcard.bank}</span></div>
                            <div class="box-col">
                                <span class="c-4f87b6">尾号${cardNo}</span>
                            </div>
                            <div class="box-col tar"><i class="ico-30 ico_arrow"></i></div>
                        </div>
                    </li>
                </a>
                <li class="odr2_b plr20">
                    <span>提现金额</span>
                    &yen;
                    <form:input path="cashWithdrawalAmount" type="number" cssClass="fs32"  ></form:input>
                    <%--<input  class="fs32" placeholder="提现金额">  </input>--%>
                </li>
                <form:errors path="cashWithdrawalAmount" cssClass="num_error"></form:errors>
                <li class="plr20">
                    <span  class="fs24 c6" >余额：${user.accountBalance}</span>
                </li>
            </ul>
        </div>
        <div class="tac ptb30 b-f1f1f1">
            <button class="i_btn b-2db22d cf r5 lh2 fs32 plr75" type="submit">提交提现申请</button>
        </div>
    </article>
</form:form>
</body>
</html>